package org.wjk.controller.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.wjk.pojo.entity.SysMenuEntity;

import java.util.List;

/*该类由Mybatis创建代理实现类，该代理实现类交给Spring*/
@Mapper
public interface SysMenuMppr extends BaseMapper<SysMenuEntity>
{
    List<SysMenuEntity> getUserAndHasMenus(Integer id);

    List<SysMenuEntity> getAllMenus();

    void addNewMenu(SysMenuEntity menu);
}
